package org.wlw.poly;

public class Dog extends Animal{
	
	public Dog(String name) {
		this.name = name;
	}

	public void enjoy() {
		System.out.println(name+"很高兴的摇了摇尾巴!");
	}
}
